<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model as Eloquent;

/**
 * Class AgentBkgeLog
 * 
 * @property int $id
 * @property int $hall_id
 * @property int $period_id
 * @property int $agent_id
 * @property string $agent_name
 * @property int $total_valid_user
 * @property int $total_bet_times
 * @property int $total_bet_amount
 * @property int $total_validbet_amount
 * @property int $total_profit_amount
 * @property int $total_bkge_amount
 * @property float $lottery_bkge_per
 * @property float $egame_bkge_per
 * @property float $sport_bkge_per
 * @property float $video_bkge_per
 * @property float $esport_bkge_per
 * @property float $card_bkge_per
 * @property float $lottery_rebet_per
 * @property float $egame_rebet_per
 * @property float $sport_rebet_per
 * @property float $video_rebet_per
 * @property float $esport_rebet_per
 * @property float $card_rebet_per
 * @property float $deposit_fee_per
 * @property float $withdraw_fee_per
 * @property int $current_validbet_lottery
 * @property int $current_validbet_egame
 * @property int $current_validbet_sport
 * @property int $current_validbet_video
 * @property int $current_validbet_esport
 * @property int $current_validbet_card
 * @property int $current_validbet_amount
 * @property int $current_profit_lottery
 * @property int $current_profit_egame
 * @property int $current_profit_sport
 * @property int $current_profit_video
 * @property int $current_profit_esport
 * @property int $current_profit_card
 * @property int $current_prifit_amount
 * @property int $current_fee_amount
 * @property int $current_deposit_amount
 * @property int $current_withdraw_amount
 * @property int $current_coupon_amount
 * @property int $current_rebet_amount
 * @property int $previous_validbet_lottery
 * @property int $previous_validbet_egame
 * @property int $previous_validbet_sport
 * @property int $previous_validbet_video
 * @property int $previous_validbet_esport
 * @property int $previous_validbet_card
 * @property int $previous_validbet_amount
 * @property int $previous_profit_lottery
 * @property int $previous_profit_egame
 * @property int $previous_profit_sport
 * @property int $previous_profit_video
 * @property int $previous_profit_esport
 * @property int $previous_profit_card
 * @property int $previous_prifit_amount
 * @property int $previous_fee_amount
 * @property int $previous_deposit_amount
 * @property int $previous_withdraw_amount
 * @property int $previous_coupon_amount
 * @property int $previous_rebet_amount
 * @property int $status
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class AgentBkgeLog extends Eloquent
{
	protected $table = 'agent_bkge_log';

	protected $casts = [
		'hall_id' => 'int',
		'period_id' => 'int',
		'agent_id' => 'int',
		'total_valid_user' => 'int',
		'total_bet_times' => 'int',
		'total_bet_amount' => 'int',
		'total_validbet_amount' => 'int',
		'total_profit_amount' => 'int',
		'total_bkge_amount' => 'int',
		'lottery_bkge_per' => 'float',
		'egame_bkge_per' => 'float',
		'sport_bkge_per' => 'float',
		'video_bkge_per' => 'float',
		'esport_bkge_per' => 'float',
		'card_bkge_per' => 'float',
		'lottery_rebet_per' => 'float',
		'egame_rebet_per' => 'float',
		'sport_rebet_per' => 'float',
		'video_rebet_per' => 'float',
		'esport_rebet_per' => 'float',
		'card_rebet_per' => 'float',
		'deposit_fee_per' => 'float',
		'withdraw_fee_per' => 'float',
		'current_validbet_lottery' => 'int',
		'current_validbet_egame' => 'int',
		'current_validbet_sport' => 'int',
		'current_validbet_video' => 'int',
		'current_validbet_esport' => 'int',
		'current_validbet_card' => 'int',
		'current_validbet_amount' => 'int',
		'current_profit_lottery' => 'int',
		'current_profit_egame' => 'int',
		'current_profit_sport' => 'int',
		'current_profit_video' => 'int',
		'current_profit_esport' => 'int',
		'current_profit_card' => 'int',
		'current_prifit_amount' => 'int',
		'current_fee_amount' => 'int',
		'current_deposit_amount' => 'int',
		'current_withdraw_amount' => 'int',
		'current_coupon_amount' => 'int',
		'current_rebet_amount' => 'int',
		'previous_validbet_lottery' => 'int',
		'previous_validbet_egame' => 'int',
		'previous_validbet_sport' => 'int',
		'previous_validbet_video' => 'int',
		'previous_validbet_esport' => 'int',
		'previous_validbet_card' => 'int',
		'previous_validbet_amount' => 'int',
		'previous_profit_lottery' => 'int',
		'previous_profit_egame' => 'int',
		'previous_profit_sport' => 'int',
		'previous_profit_video' => 'int',
		'previous_profit_esport' => 'int',
		'previous_profit_card' => 'int',
		'previous_prifit_amount' => 'int',
		'previous_fee_amount' => 'int',
		'previous_deposit_amount' => 'int',
		'previous_withdraw_amount' => 'int',
		'previous_coupon_amount' => 'int',
		'previous_rebet_amount' => 'int',
		'status' => 'int'
	];

	protected $fillable = [
		'hall_id',
		'period_id',
		'agent_id',
		'agent_name',
		'total_valid_user',
		'total_bet_times',
		'total_bet_amount',
		'total_validbet_amount',
		'total_profit_amount',
		'total_bkge_amount',
		'lottery_bkge_per',
		'egame_bkge_per',
		'sport_bkge_per',
		'video_bkge_per',
		'esport_bkge_per',
		'card_bkge_per',
		'lottery_rebet_per',
		'egame_rebet_per',
		'sport_rebet_per',
		'video_rebet_per',
		'esport_rebet_per',
		'card_rebet_per',
		'deposit_fee_per',
		'withdraw_fee_per',
		'current_validbet_lottery',
		'current_validbet_egame',
		'current_validbet_sport',
		'current_validbet_video',
		'current_validbet_esport',
		'current_validbet_card',
		'current_validbet_amount',
		'current_profit_lottery',
		'current_profit_egame',
		'current_profit_sport',
		'current_profit_video',
		'current_profit_esport',
		'current_profit_card',
		'current_prifit_amount',
		'current_fee_amount',
		'current_deposit_amount',
		'current_withdraw_amount',
		'current_coupon_amount',
		'current_rebet_amount',
		'previous_validbet_lottery',
		'previous_validbet_egame',
		'previous_validbet_sport',
		'previous_validbet_video',
		'previous_validbet_esport',
		'previous_validbet_card',
		'previous_validbet_amount',
		'previous_profit_lottery',
		'previous_profit_egame',
		'previous_profit_sport',
		'previous_profit_video',
		'previous_profit_esport',
		'previous_profit_card',
		'previous_prifit_amount',
		'previous_fee_amount',
		'previous_deposit_amount',
		'previous_withdraw_amount',
		'previous_coupon_amount',
		'previous_rebet_amount',
		'status'
	];
}
